<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ include file="../before.jsp"%>
<c:forEach var="round" items="${bracket.rounds}" varStatus="i">
	<p>Runde ${i.count}</p>
	<c:forEach var="match" items="${round.matches}" varStatus="j">
		<p>Kamp ${j.count}</p>
		<p>${match.home} - ${match.away}</p>
	</c:forEach>
</c:forEach>

<form action="/tourbuilder/bracket/reportloss" method="POST">
	<input type="hidden" name="bracketId" value="${bracket.bracketId}"></input><br />
	Poeng for: <input type="text" name="pointsFor"></input><br />
	Poeng imot: <input type="text" name="pointsAgainst"></input></br>
	<input type="submit" value="Report loss!" />
</form>

<%@ include file="../after.jsp"%>